package com.langfeiyes.test.event;

public class App {


    public static void main(String[] args) {

        SimpleEventMulticaster multicaster = new SimpleEventMulticaster();

        multicaster.registListener(new LoginListener());
        multicaster.registListener(new PointsListener());

        multicaster.multicastEvent(new LoginEvent("用户登录啦"));



    }
}
